﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class Flower : MonoBehaviour
{
    // Start is called before the first frame update
    void Start()
    {
        
    }
    private void OnEnable()
    {
        StartCoroutine("Test");
    }
    // Update is called once per frame
    void Update()
    {
        
    }
    IEnumerator Test()
    {
        yield return new WaitForSeconds(3);
        gameObject.SetActive(false);
    }
}
